home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / ham / msys114.zip / HAPNMSYS.COM / HAPNMSYS.DOC < prev   
Text File  |  1991-03-03  |  8KB  |  175 lines

  1.  
  2. MSYS Support for HAPN-1 and DRSI PC-Packet Adapters
  3.  
  4. by Jack Botner, VE3LNY             March 3, 1991
  5.  
  6. (C) Copyright HAPN Hamilton and Area Packet Network 1991
  7.  
  8. Jack Botner                        H. A. P. N.
  9. 222 Divadale Drive                 Box 4466, Station D
  10. Toronto, Ontario                   Hamilton, Ontario
  11. Canada   M4G 2P7                   Canada   L8V 4S7
  12.  
  13. Compuserve: 73327,176 (private mail only, please)
  14.  
  15. ───────────────────────────────────────────────────────────────────────
  16. 1st Release:         August, 1990
  17. Maintenance release: February, 1991
  18.                      Fixed bug in HAPNKISS that caused it to transmit
  19.                      without regard to carrier on the channel.
  20. 2nd Release:         March, 1991
  21.                      1. Increased support to 8 ports from 4.
  22. ───────────────────────────────────────────────────────────────────────
  23.  
  24. Support for the HAPN-1 and PC-Packet adapters is available in MSYS
  25. version 1.09 and later. This support is made up of the following
  26. components:
  27.  
  28. 1. An interface built into MSYS. Until version 1.09, MSYS would talk
  29.    only to KISS TNCs attached via serial port. Mike added an interface
  30.    to optionally talk to any other device using a software interrupt
  31.    vector. The alternate interface is selected by a certain specification
  32.    in the port name.
  33.  
  34. 2. The use of a HAPN device driver for either the HAPN-1 adapter or the
  35.    PC-Packet adapter. These device drivers provide hardware support for
  36.    the adapters and a programming interface for applications.
  37.  
  38. 3. A KISS application interface that works between the new MSYS software
  39.    interrupt interface and the HAPN device driver. The HAPN device
  40.    driver provides a simple block-oriented interface to the application
  41.    program; this module converts this interface to the KISS standard
  42.    used by MSYS.
  43.  
  44. With these components in place and the proper port specification in the
  45. MSYS.OPT file, MSYS will use the HAPN-1 and PC-Packet adapters like
  46. another port.
  47.  
  48.  
  49. MSYS Interface
  50.  
  51. You must have version 1.09 or later. To specify a HAPN-1 or PC-Packet
  52. adapter, you must set up a PORT statement in MSYS.OPT with a port
  53. name beginning with an *. For example,
  54.  
  55.     port 0 at $0 int 4 speed 1200 name *HAPN-1
  56.  
  57. For a system with 2 HAPN-1 adapters or 1 PC-Packet adapter,
  58.  
  59.     port 0 at $0 int 4 speed 4800 name *port0
  60.     port 1 at $1 int 4 speed 1200 name *port1
  61.  
  62. Please note that the information normally used by MSYS to access a
  63. serial port, the interrupt level, and the serial port line speed are
  64. irrelevant. The port number is important for the reasons stated in the
  65. MSYS documentation, and the port name beginning with * is critical to
  66. the port being recognized as using the alternate software vector
  67. interface; however after the * the name may be anything you like.
  68.  
  69.  
  70. HAPN Device Driver
  71.  
  72. If you own a HAPN-1 adapter, you are already familiar with the device
  73. driver HAPN1.SYS used with the software package. (If you have an old
  74. version, you should know that the current HAPN-1 software supports
  75. multiple connects and multiple ports. Software updates are available
  76. for $10 US for registered customers, and $35 US for others.) HAPN
  77. has also developed an 8530 device driver, called HAPNDRSI.SYS, that
  78. works with the PC-Packet adapter and provides the identical function. You
  79. need one or the other of these device drivers depending on which adapter
  80. you are using. The specification for loading one of these device drivers
  81. may be found in a separate document for each driver. Hardware-related
  82. parameters such as adapter address, interrupt level, etc. are specified
  83. on the command line in CONFIG.SYS. The driver will be loaded when you
  84. boot your system. Watch your screen when you boot up. The device driver
  85. will display a number of messages indicating that it has been loaded, or
  86. an error message if a parameter is in error.  If the driver does not load,
  87. the port cannot be used.
  88.  
  89. Further documentation on the HAPN-1 device driver may be found in file
  90. HAPN-API.DOC (supplied with the HAPN AX.25 program diskette), and on the
  91. PC-Packet driver in file HAPNDRSI.DOC.
  92.  
  93.  
  94. HAPNKISS Interface Module
  95.  
  96. Finally, before running MSYS, load HAPNKISS.COM. It is a small TSR
  97. program that searches out the HAPN-1/PC-Packet device drivers then
  98. sets up the software interrupt for MSYS to use. The default interrupt
  99. is D0 (hex). Loading HAPNKISS is as simple as typing HAPNKISS and
  100. pressing enter, but the following things should be kept in mind:
  101.  
  102. 1. MSYS uses vector D0 by default, and so does HAPNKISS. However if
  103.    it is necessary to use a different vector, the vector can be
  104.    specified on the command line as follows:
  105.  
  106.         HAPNKISS 9E
  107.  
  108.    The 2-digit hexadecimal number (upper case not necessary) will be
  109.    interpreted as the interrupt vector to use instead of D0. (Don't
  110.    ask me how to make MSYS use a different vector 'cause I don't know.)
  111.  
  112. 2. HAPNKISS expects the vector (4 bytes in low memory) to contain all
  113.    zeroes. If it does not, another program could be using this vector,
  114.    or it just may not have been initialized properly. If you determine
  115.    that it is ok to use the vector even when it does not contain zeroes,
  116.    add /f to the command line, for example:
  117.  
  118.         HAPNKISS /F
  119.  
  120.    You will know if there is a problem because when /f is not present,
  121.    HAPNKISS will not load, and displays an error message when the vector
  122.    is not zeroes. Adding the /f parameter overrides the error and
  123.    HAPNKISS will load.
  124.  
  125. 3. You cannot load HAPNKISS twice. If you try, an error message will
  126.    be displayed. One copy of HAPNKISS can support up to 8 ports made up
  127.    of HAPN-1 and PC-Packet adapters. To get rid of HAPNKISS, re-boot.
  128.  
  129. 4. When it loads, HAPNKISS reports all the ports it recognizes. You
  130.    could have up to 8 ports made up of HAPN-1 and PC-Packet adapters.
  131.    The report will give you the information you need to set up the
  132.    PORT statements for MSYS.OPT. So, if you are using more than one
  133.    of these ports, set up the device drivers, boot your system, and
  134.    load HAPNKISS to see what the ports are, then use the information
  135.    to set up the MSYS PORT statements.
  136.  
  137. 5. HAPNKISS uses the timer tick interrupt for timing purposes. It
  138.    takes over interrupt 8, and when it is done, calls the previous
  139.    int 8 address. If desired, HAPNKISS can be made to use interrupt
  140.    vector 1c (hex) instead, by adding the switch /a or /A on the
  141.    HAPNKISS command line. The HAPN-1 adapter manual contains more
  142.    information on the use of the timer tick interrupt by the HAPN-1
  143.    programs.
  144.  
  145.  
  146. Terms of Distribution
  147.  
  148. The HAPN device drivers and the KISS interface are currently distributed
  149. with the MSYS optional package.
  150.  
  151. This software is distributed under the following conditions:
  152.  
  153. 1. It may be used for Amateur Radio purposes only.
  154.  
  155. 2. It may be re-distributed to other amateurs for use with MSYS only.
  156.    In this case, it should be distributed as a package including this
  157.    documentation.
  158.  
  159. 3. The programs are Copyright HAPN (Hamilton and Area Packet Network).
  160.    THEY MAY NOT BE USED FOR ANY PURPOSE BY ANY COMMERCIAL ORGANIZATION,
  161.    OR REDISTRIBUTED BY ANYONE FOR A PRICE. HAPN has put a lot of work
  162.    into these programs that we are distributing for free, and we don't
  163.    want anyone else profiting from them.
  164.  
  165. 4. The programs are distributed "as is". HAPN will endeavor to provide
  166.    support to users experiencing problems with them, but time can only
  167.    be allocated as available. In addition, the multitude of PC
  168.    configurations in use is not available to us, so we may not be able
  169.    to reproduce your problem.
  170.  
  171.    If you have a problem with this software, please report it to us.
  172.    Messages can be sent to VE3LNY @VE3NUU or private mail on Compuserve
  173.    ID 73327,176 or to the address above.
  174.  
  175.